<template>
    <div>
      <h1>页面</h1>
      <p>签到时间: {{ signInTime }}</p>
    </div>
  </template>
  
  <script setup>
  import { ref, onMounted } from 'vue';
  import { useRoute } from 'vue-router';
  
  const route = useRoute();
  const signInTime = ref('');
  
  onMounted(() => {
    signInTime.value = route.query.signInTime || '未签到';
  });
  </script>